package com.contest.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

/**
 * @author yfl
 * @email 617823298@qq.com
 * @date 2018-01-15 16:49:32
 */
@TableName("gaming_quiz")
public class GamingQuiz extends Model<GamingQuiz> implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId("fd_id")
    private String fdId;
    //所属用户
    @TableField("fd_user_id")
    private String fdUserId;
    //下注金额
    @TableField("fd_amount")
    private BigDecimal fdAmount;
    //所属用户
    @TableField("fd_user_name")
    private String fdUserName;
    //0:单双,1:大小,2:特码,3买涨,4买跌
    @TableField("fd_game_name")
    private String fdGameName;

    @TableField("fd_type")
    private Integer fdType;

    //竞猜时间
    @TableField("fd_time")
    private String fdTime;
    @TableField("fd_second_result")
    private String fdSecondResult;

    //竞猜号码
    @TableField("fd_quiz_num")
    private String fdQuizNum;
    //-1:输,1:赢
    @TableField("fd_result")
    private Integer fdResult;
    //
    @TableField("fd_odds")
    private BigDecimal fdOdds;
    //是否结算0:否,1是
    @TableField("fd_is_settlement")
    private Integer fdIsSettlement;

    @TableField("fd_startpoint")
    private String fdStartpoint;

    @TableField("fd_endpoint")
    private String fdEndpoint;

    @TableField("fd_money")
    private String fdMoney;

    public String getFdMoney() {
        return fdMoney;
    }

    public void setFdMoney(String fdMoney) {
        this.fdMoney = fdMoney;
    }

    public String getFdStartpoint() {
        return fdStartpoint;
    }

    public void setFdStartpoint(String fdStartpoint) {
        this.fdStartpoint = fdStartpoint;
    }

    public String getFdEndpoint() {
        return fdEndpoint;
    }

    public void setFdEndpoint(String fdEndpoint) {
        this.fdEndpoint = fdEndpoint;
    }

    /**
     * 设置：主键
     */
    public void setFdId(String fdId) {
        this.fdId = fdId;
    }

    /**
     * 获取：主键
     */
    public String getFdId() {
        return fdId;
    }

    /**
     * 设置：所属用户
     */
    public void setFdUserId(String fdUserId) {
        this.fdUserId = fdUserId;
    }

    /**
     * 获取：所属用户
     */
    public String getFdUserId() {
        return fdUserId;
    }

    /**
     * 设置：0:单双,1:大小,2:特码
     */
    public void setFdType(Integer fdType) {
        this.fdType = fdType;
    }

    /**
     * 获取：0:单双,1:大小,2:特码
     */
    public Integer getFdType() {
        return fdType;
    }

    public String getFdGameName() {
        return fdGameName;
    }

    public void setFdGameName(String fdGameName) {
        this.fdGameName = fdGameName;
    }

    /**
     * 设置：竞猜时间
     */
    public void setFdTime(String fdTime) {
        this.fdTime = fdTime;
    }

    /**
     * 获取：竞猜时间
     */
    public String getFdTime() {
        return fdTime;
    }

    public BigDecimal getFdAmount() {
        return fdAmount;
    }

    public void setFdAmount(BigDecimal fdAmount) {
        this.fdAmount = fdAmount;
    }

    /**
     * 设置：竞猜号码
     */
    public void setFdQuizNum(String fdQuizNum) {
        this.fdQuizNum = fdQuizNum;
    }

    /**
     * 获取：竞猜号码
     */
    public String getFdQuizNum() {
        return fdQuizNum;
    }

    /**
     * 设置：-1:输,1:赢
     */
    public void setFdResult(Integer fdResult) {
        this.fdResult = fdResult;
    }

    /**
     * 获取：-1:输,1:赢
     */
    public Integer getFdResult() {
        return fdResult;
    }

    /**
     * 设置：
     */
    public void setFdOdds(BigDecimal fdOdds) {
        this.fdOdds = fdOdds;
    }

    /**
     * 获取：
     */
    public BigDecimal getFdOdds() {
        return fdOdds;
    }

    /**
     * 设置：是否结算0:否,1是
     */
    public void setFdIsSettlement(Integer fdIsSettlement) {
        this.fdIsSettlement = fdIsSettlement;
    }

    /**
     * 获取：是否结算0:否,1是
     */
    public Integer getFdIsSettlement() {
        return fdIsSettlement;
    }

    public String getFdUserName() {
        return fdUserName;
    }

    public void setFdUserName(String fdUserName) {
        this.fdUserName = fdUserName;
    }

    public String getFdSecondResult() {
        return fdSecondResult;
    }

    public void setFdSecondResult(String fdSecondResult) {
        this.fdSecondResult = fdSecondResult;
    }

    @Override
    protected Serializable pkVal() {
        return this.fdId;
    }
}
